package com.ecoolex.ying.space.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class EstateProjectActivityGoodsCategoryExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public EstateProjectActivityGoodsCategoryExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public EstateProjectActivityGoodsCategoryExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public EstateProjectActivityGoodsCategoryExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        EstateProjectActivityGoodsCategoryExample example = new EstateProjectActivityGoodsCategoryExample();
        return example.createCriteria();
    }

    public EstateProjectActivityGoodsCategoryExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public EstateProjectActivityGoodsCategoryExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public EstateProjectActivityGoodsCategoryExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsCategoryExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public EstateProjectActivityGoodsCategoryExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andActivityCategoryIdIsNull() {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId =", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId <>", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId >", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId >=", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId <", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId <=", value, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityCategoryId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId in", values, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId not in", values, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId between", value1, value2, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andActivityCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ActivityCategoryId not between", value1, value2, "activityCategoryId");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("estateprojectactivitygoodscategory.ProjectId is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.ProjectId is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId =", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId <>", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId >", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId >=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId <", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId <=", value, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ProjectId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId not in", values, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ProjectId not between", value1, value2, "projectId");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNull() {
            addCriterion("estateprojectactivitygoodscategory.ActivityName is null");
            return (Criteria) this;
        }

        public Criteria andActivityNameIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.ActivityName is not null");
            return (Criteria) this;
        }

        public Criteria andActivityNameEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName =", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName <>", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName >", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName >=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName <", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName <=", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ActivityName <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andActivityNameLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName not like", value, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName not in", values, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andActivityNameNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.ActivityName not between", value1, value2, "activityName");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("estateprojectactivitygoodscategory.`Level` is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.`Level` is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.`Level` <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Level` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.`Level` in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.`Level` not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.`Level` between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.`Level` not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdIsNull() {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId is null");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId is not null");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId =", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId <>", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId >", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId >=", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId <", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId <=", value, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.ParentCategoryId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId in", values, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId not in", values, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId between", value1, value2, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andParentCategoryIdNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.ParentCategoryId not between", value1, value2, "parentCategoryId");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("estateprojectactivitygoodscategory.Weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.Weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Integer value) {
            addCriterion("estateprojectactivitygoodscategory.Weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Weight <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.Weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Integer> values) {
            addCriterion("estateprojectactivitygoodscategory.Weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.Weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("estateprojectactivitygoodscategory.Weight not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNull() {
            addCriterion("estateprojectactivitygoodscategory.`Online` is null");
            return (Criteria) this;
        }

        public Criteria andOnlineIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.`Online` is not null");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` =", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` <>", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` >", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` >=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` <", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.`Online` <=", value, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`Online` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOnlineIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodscategory.`Online` in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodscategory.`Online` not in", values, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodscategory.`Online` between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andOnlineNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodscategory.`Online` not between", value1, value2, "online");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("estateprojectactivitygoodscategory.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("estateprojectactivitygoodscategory.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodscategory.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("estateprojectactivitygoodscategory.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodscategory.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("estateprojectactivitygoodscategory.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("estateprojectactivitygoodscategory.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodscategory.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("estateprojectactivitygoodscategory.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(EstateProjectActivityGoodsCategory.Column column) {
            addCriterion(new StringBuilder("estateprojectactivitygoodscategory.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("estateprojectactivitygoodscategory.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private EstateProjectActivityGoodsCategoryExample example;

        protected Criteria(EstateProjectActivityGoodsCategoryExample example) {
            super();
            this.example = example;
        }

        public EstateProjectActivityGoodsCategoryExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(EstateProjectActivityGoodsCategory.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(EstateProjectActivityGoodsCategory.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.ying.space.entity.EstateProjectActivityGoodsCategoryExample example);
    }
}